package main

import (
	"ReferenceMonitor/sdk/rpc/gallery"
	"fmt"
)

var (
	host = "localhost:1234"
)

func Step1() { // Get File list

}

func main() {
	//c := framework.NewClientAPI()
	//c.RunCli()
	fmt.Println("Start Gallery Client")
	client := gallery.NewClientRPC(gallery.ClientOpt{Addr: host})
	fmt.Println(client.RpcVersion())
	fmt.Println(client.RpcPictureList())
	err := client.DownloadPicture("test", "pictures/test/readme.md", "pictures/download/readme.md")
	fmt.Println(err)
}
